package com.example.springboot.dto;

import lombok.Data;

import java.time.LocalDate;

@Data   //方案社区&个人主页方案
public class SolutionAllDTO {
    private Integer id;
    private String name;
    private UserDTO userDTO;        //用户id,nickname,profilepic
    private String detail;          //方案内容
    private Double score;           //评分
    private Integer view;           //浏览量
    private Integer comments;       //评论数
    private Integer collections;    //收藏数
    private LocalDate createTime;   //发布时间
    private String relativeTime;    //相对时间
}
